package com.kyxx.topics.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.kyxx.topics.R;

//import com.example.playerdemo.activity.MobilePlayActivity;
//import com.example.playerdemo.activity.PlayActivity;
//import com.example.playerdemo.activity.PlayNoSkinActivity;
//import com.letv.controller.PlayProxy;
//import com.letv.recorder.MainActivity;
//import com.letv.universal.iplay.EventPlayProxy;

public class LiveActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_live);
//        findViewById(R.id.btn0).setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View view) {
//                startActivity(new Intent(LiveActivity.this, MobilePlayActivity.class));
////                Intent intent = new Intent(LiveActivity.this, PlayerActivity.class);
////                Bundle mBundle = null;
////                mBundle = new Bundle();
////                mBundle.putInt(PlayProxy.PLAY_MODE, EventPlayProxy.PLAYER_LIVE);
//////                mBundle.putString("path", "rtmp://live.hkstv.hk.lxdns.com/live/hks");
////                mBundle.putString("path", "rtmp://12438.mpull.live.lecloud.com/live/111?tm=20160927161925&sign=226f81c068474b895c6a654da7e57bd5");
////                intent.putExtra(PlayActivity.DATA, mBundle);
////                startActivity(intent);
//            }
//        });
//        findViewById(R.id.btn1).setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View view) {
//                startActivity(new Intent(LiveActivity.this, MainActivity.class));
//            }
//        });
    }
}
